package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2024/03/06
*/
@Data
@Table(name = "tbl_booking_delivery")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingDelivery extends BaseEntity {
    @Column(name = "group_id")
    private String groupId;

    private String country;

    @Column(name = "booking_id")
    private String bookingId;

    @Column(name = "delivery_type")
    private String deliveryType;

    /**
     * 序号，同一个booking会有多条delivery,从0开始
     */
    @Column(name = "visit_id")
    @ApiModelProperty("序号，同一个booking会有多条delivery,从0开始")
    private Integer visitId;

    /**
     * 例如Grab, uParcel, Gojek etc
     */
    @Column(name = "delivery_vendor")
    @ApiModelProperty("例如Grab, uParcel, Gojek etc")
    private String deliveryVendor;

    /**
     * 例如 Gojek (Same Day)
     */
    @Column(name = "`shipping method`")
    @ApiModelProperty("例如 Gojek (Same Day)")
    private String shippingMethod;

    @Column(name = "booking_code")
    private String bookingCode;

    private Integer status;

    @Column(name = "pick_up_time")
    private Date pickUpTime;

    @Column(name = "order_status")
    private Integer orderStatus;

    @Column(name = "order_sub_status")
    private Integer orderSubStatus;

    private String description;

    private String photo;

    @Column(name = "request_timing")
    private Date requestTiming;

    @Column(name = "third_party_delivery_fee")
    private BigDecimal thirdPartyDeliveryFee;

    @Column(name = "third_party_delivery_fee_currency")
    private String thirdPartyDeliveryFeeCurrency;
}